home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / ocxreg.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  4.9 KB  |  154 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'OCXReg.pas' rev: 3.00
  6.  
  7. #ifndef OCXRegHPP
  8. #define OCXRegHPP
  9. #include <OleCtrls.hpp>
  10. #include <DsgnIntf.hpp>
  11. #include <TypInfo.hpp>
  12. #include <Dialogs.hpp>
  13. #include <Forms.hpp>
  14. #include <Controls.hpp>
  15. #include <Graphics.hpp>
  16. #include <Classes.hpp>
  17. #include <ComObj.hpp>
  18. #include <SysUtils.hpp>
  19. #include <ActiveX.hpp>
  20. #include <Windows.hpp>
  21. #include <SysInit.hpp>
  22. #include <System.hpp>
  23.  
  24. //-- user supplied -----------------------------------------------------------
  25.  
  26. namespace Ocxreg
  27. {
  28. //-- type declarations -------------------------------------------------------
  29. class DELPHICLASS TOleControlEditor;
  30. class PASCALIMPLEMENTATION TOleControlEditor : public Dsgnintf::TDefaultEditor 
  31. {
  32.     typedef Dsgnintf::TDefaultEditor inherited;
  33.     
  34. private:
  35.     Classes::TStringList* FVerbs;
  36.     void __fastcall DoVerb(int Verb);
  37.     
  38. public:
  39.     __fastcall virtual TOleControlEditor(Classes::TComponent* AComponent, Dsgnintf::TFormDesigner* ADesigner
  40.         );
  41.     __fastcall virtual ~TOleControlEditor(void);
  42.     virtual void __fastcall Edit(void);
  43.     virtual void __fastcall ExecuteVerb(int Index);
  44.     virtual System::AnsiString __fastcall GetVerb(int Index);
  45.     virtual int __fastcall GetVerbCount(void);
  46. };
  47.  
  48. class DELPHICLASS TOleObjectEditor;
  49. class PASCALIMPLEMENTATION TOleObjectEditor : public System::TObject 
  50. {
  51.     typedef System::TObject inherited;
  52.     
  53. private:
  54.     Dsgnintf::TPropertyEditor* FPropertyEditor;
  55.     
  56. public:
  57.     __fastcall virtual TOleObjectEditor(Dsgnintf::TPropertyEditor* PropertyEditor);
  58.     virtual System::Variant __fastcall Edit(const System::Variant &OleObject);
  59.     __property Dsgnintf::TPropertyEditor* PropertyEditor = {read=FPropertyEditor};
  60. public:
  61.     /* TObject.Destroy */ __fastcall virtual ~TOleObjectEditor(void) { }
  62.     
  63. };
  64.  
  65. class DELPHICLASS TOleFontEditor;
  66. class PASCALIMPLEMENTATION TOleFontEditor : public Ocxreg::TOleObjectEditor 
  67. {
  68.     typedef Ocxreg::TOleObjectEditor inherited;
  69.     
  70. public:
  71.     virtual System::Variant __fastcall Edit(const System::Variant &OleObject);
  72. public:
  73.     /* TOleObjectEditor.Create */ __fastcall virtual TOleFontEditor(Dsgnintf::TPropertyEditor* PropertyEditor
  74.         ) : Ocxreg::TOleObjectEditor(PropertyEditor) { }
  75.     
  76. public:
  77.     /* TObject.Destroy */ __fastcall virtual ~TOleFontEditor(void) { }
  78.     
  79. };
  80.  
  81. class DELPHICLASS TOleObjectProperty;
  82. class PASCALIMPLEMENTATION TOleObjectProperty : public Dsgnintf::TPropertyEditor 
  83. {
  84.     typedef Dsgnintf::TPropertyEditor inherited;
  85.     
  86. public:
  87.     virtual void __fastcall Edit(void);
  88.     virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
  89.     virtual System::AnsiString __fastcall GetValue(void);
  90. public:
  91.     /* TPropertyEditor.Destroy */ __fastcall virtual ~TOleObjectProperty(void) { }
  92.     
  93. public:
  94.     /* TObject.Create */ __fastcall TOleObjectProperty(void) : Dsgnintf::TPropertyEditor() { }
  95.     
  96. };
  97.  
  98. class DELPHICLASS TOleCustomProperty;
  99. class PASCALIMPLEMENTATION TOleCustomProperty : public Dsgnintf::TPropertyEditor 
  100. {
  101.     typedef Dsgnintf::TPropertyEditor inherited;
  102.     
  103. public:
  104.     virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
  105.     virtual System::AnsiString __fastcall GetValue(void);
  106.     virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
  107.     virtual void __fastcall SetValue(const System::AnsiString Value);
  108. public:
  109.     /* TPropertyEditor.Destroy */ __fastcall virtual ~TOleCustomProperty(void) { }
  110.     
  111. public:
  112.     /* TObject.Create */ __fastcall TOleCustomProperty(void) : Dsgnintf::TPropertyEditor() { }
  113.     
  114. };
  115.  
  116. class DELPHICLASS TOleEnumProperty;
  117. class PASCALIMPLEMENTATION TOleEnumProperty : public Dsgnintf::TOrdinalProperty 
  118. {
  119.     typedef Dsgnintf::TOrdinalProperty inherited;
  120.     
  121. private:
  122.     Olectrls::TEnumPropDesc* FEnumPropDesc;
  123.     
  124. protected:
  125.     __property Olectrls::TEnumPropDesc* EnumPropDesc = {read=FEnumPropDesc};
  126.     
  127. public:
  128.     virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
  129.     virtual System::AnsiString __fastcall GetValue(void);
  130.     virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
  131.     virtual void __fastcall Initialize(void);
  132.     virtual void __fastcall SetValue(const System::AnsiString Value);
  133. public:
  134.     /* TPropertyEditor.Destroy */ __fastcall virtual ~TOleEnumProperty(void) { }
  135.     
  136. public:
  137.     /* TObject.Create */ __fastcall TOleEnumProperty(void) : Dsgnintf::TOrdinalProperty() { }
  138.     
  139. };
  140.  
  141. typedef System::TMetaClass*TOleObjectEditorClass;
  142.  
  143. //-- var, const, procedure ---------------------------------------------------
  144. extern PACKAGE void __fastcall RegisterOleObjectEditor(const GUID &IID, const System::AnsiString ClassName
  145.     , System::TMetaClass* EditorClass);
  146. extern PACKAGE void __fastcall Register(void);
  147.  
  148. }    /* namespace Ocxreg */
  149. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  150. using namespace Ocxreg;
  151. #endif
  152. //-- end unit ----------------------------------------------------------------
  153. #endif    // OCXReg
  154.